<%--
  Created by IntelliJ IDEA.
  User: admin
  Date: 2021/12/13
  Time: 23:25
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<el-card>
    <el-row>
        <el-col :md="{span:8,offset:8}">
            <el-divider content-position="left">修改密码:</el-divider>
            <el-form label-width="80">
                <el-form-item label="原密码:">
                    <el-input type="text" v-model="userSafe.updatePassword.OriginalPassword" show-password/>
                </el-form-item>
                <el-form-item label="新密码:">
                    <el-input type="text" v-model="userSafe.updatePassword.NewPassword" show-password/>
                </el-form-item>
                <el-form-item label="确认密码:">
                    <el-input type="text" v-model="userSafe.updatePassword.ConfirmPassword" show-password/>
                </el-form-item>
                <el-form-item>
                    <el-button style="width: 100%" @click="updatePassword">确认修改</el-button>
                </el-form-item>
                <el-divider content-position="left">修改信息:</el-divider>
                <el-form-item label="修改昵称:">
                    <el-input type="text" v-model="userSafe.updateMessage.UserNickName"/>
                </el-form-item>
                <el-form-item label="修改邮箱:">
                    <el-input type="text" v-model="userSafe.updateMessage.UserEmail"/>
                </el-form-item>
                <el-form-item label="真实姓名:">
                    <el-input type="text" v-model="userSafe.updateMessage.UserName"/>
                </el-form-item>
                <el-form-item>
                    <el-button style="width: 100%" @click="updateUserMsg">确认修改</el-button>
                </el-form-item>
            </el-form>
        </el-col>
    </el-row>
</el-card>